package com.jhgk.jhcee.auth.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ActivityRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ActivityRecordExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andActivityRecordIdIsNull() {
            addCriterion("activity_record_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdIsNotNull() {
            addCriterion("activity_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdEqualTo(Integer value) {
            addCriterion("activity_record_id =", value, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdNotEqualTo(Integer value) {
            addCriterion("activity_record_id <>", value, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdGreaterThan(Integer value) {
            addCriterion("activity_record_id >", value, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_record_id >=", value, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdLessThan(Integer value) {
            addCriterion("activity_record_id <", value, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_record_id <=", value, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdIn(List<Integer> values) {
            addCriterion("activity_record_id in", values, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdNotIn(List<Integer> values) {
            addCriterion("activity_record_id not in", values, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_record_id between", value1, value2, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityRecordIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_record_id not between", value1, value2, "activityRecordId");
            return (Criteria) this;
        }

        public Criteria andActivityUuidIsNull() {
            addCriterion("activity_uuid is null");
            return (Criteria) this;
        }

        public Criteria andActivityUuidIsNotNull() {
            addCriterion("activity_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andActivityUuidEqualTo(String value) {
            addCriterion("activity_uuid =", value, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidNotEqualTo(String value) {
            addCriterion("activity_uuid <>", value, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidGreaterThan(String value) {
            addCriterion("activity_uuid >", value, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidGreaterThanOrEqualTo(String value) {
            addCriterion("activity_uuid >=", value, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidLessThan(String value) {
            addCriterion("activity_uuid <", value, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidLessThanOrEqualTo(String value) {
            addCriterion("activity_uuid <=", value, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidLike(String value) {
            addCriterion("activity_uuid like", value, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidNotLike(String value) {
            addCriterion("activity_uuid not like", value, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidIn(List<String> values) {
            addCriterion("activity_uuid in", values, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidNotIn(List<String> values) {
            addCriterion("activity_uuid not in", values, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidBetween(String value1, String value2) {
            addCriterion("activity_uuid between", value1, value2, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andActivityUuidNotBetween(String value1, String value2) {
            addCriterion("activity_uuid not between", value1, value2, "activityUuid");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUserUuidIsNull() {
            addCriterion("user_uuid is null");
            return (Criteria) this;
        }

        public Criteria andUserUuidIsNotNull() {
            addCriterion("user_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUserUuidEqualTo(String value) {
            addCriterion("user_uuid =", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidNotEqualTo(String value) {
            addCriterion("user_uuid <>", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidGreaterThan(String value) {
            addCriterion("user_uuid >", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidGreaterThanOrEqualTo(String value) {
            addCriterion("user_uuid >=", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidLessThan(String value) {
            addCriterion("user_uuid <", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidLessThanOrEqualTo(String value) {
            addCriterion("user_uuid <=", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidLike(String value) {
            addCriterion("user_uuid like", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidNotLike(String value) {
            addCriterion("user_uuid not like", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidIn(List<String> values) {
            addCriterion("user_uuid in", values, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidNotIn(List<String> values) {
            addCriterion("user_uuid not in", values, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidBetween(String value1, String value2) {
            addCriterion("user_uuid between", value1, value2, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidNotBetween(String value1, String value2) {
            addCriterion("user_uuid not between", value1, value2, "userUuid");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyIsNull() {
            addCriterion("share_reward_money is null");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyIsNotNull() {
            addCriterion("share_reward_money is not null");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyEqualTo(BigDecimal value) {
            addCriterion("share_reward_money =", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyNotEqualTo(BigDecimal value) {
            addCriterion("share_reward_money <>", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyGreaterThan(BigDecimal value) {
            addCriterion("share_reward_money >", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_reward_money >=", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyLessThan(BigDecimal value) {
            addCriterion("share_reward_money <", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_reward_money <=", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyIn(List<BigDecimal> values) {
            addCriterion("share_reward_money in", values, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyNotIn(List<BigDecimal> values) {
            addCriterion("share_reward_money not in", values, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_reward_money between", value1, value2, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_reward_money not between", value1, value2, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyIsNull() {
            addCriterion("buy_reward_money is null");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyIsNotNull() {
            addCriterion("buy_reward_money is not null");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyEqualTo(BigDecimal value) {
            addCriterion("buy_reward_money =", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyNotEqualTo(BigDecimal value) {
            addCriterion("buy_reward_money <>", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyGreaterThan(BigDecimal value) {
            addCriterion("buy_reward_money >", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_reward_money >=", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyLessThan(BigDecimal value) {
            addCriterion("buy_reward_money <", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_reward_money <=", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyIn(List<BigDecimal> values) {
            addCriterion("buy_reward_money in", values, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyNotIn(List<BigDecimal> values) {
            addCriterion("buy_reward_money not in", values, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_reward_money between", value1, value2, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_reward_money not between", value1, value2, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneIsNull() {
            addCriterion("invited_user_phone is null");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneIsNotNull() {
            addCriterion("invited_user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneEqualTo(String value) {
            addCriterion("invited_user_phone =", value, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneNotEqualTo(String value) {
            addCriterion("invited_user_phone <>", value, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneGreaterThan(String value) {
            addCriterion("invited_user_phone >", value, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("invited_user_phone >=", value, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneLessThan(String value) {
            addCriterion("invited_user_phone <", value, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("invited_user_phone <=", value, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneLike(String value) {
            addCriterion("invited_user_phone like", value, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneNotLike(String value) {
            addCriterion("invited_user_phone not like", value, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneIn(List<String> values) {
            addCriterion("invited_user_phone in", values, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneNotIn(List<String> values) {
            addCriterion("invited_user_phone not in", values, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneBetween(String value1, String value2) {
            addCriterion("invited_user_phone between", value1, value2, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserPhoneNotBetween(String value1, String value2) {
            addCriterion("invited_user_phone not between", value1, value2, "invitedUserPhone");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidIsNull() {
            addCriterion("invited_user_uuid is null");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidIsNotNull() {
            addCriterion("invited_user_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidEqualTo(String value) {
            addCriterion("invited_user_uuid =", value, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidNotEqualTo(String value) {
            addCriterion("invited_user_uuid <>", value, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidGreaterThan(String value) {
            addCriterion("invited_user_uuid >", value, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidGreaterThanOrEqualTo(String value) {
            addCriterion("invited_user_uuid >=", value, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidLessThan(String value) {
            addCriterion("invited_user_uuid <", value, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidLessThanOrEqualTo(String value) {
            addCriterion("invited_user_uuid <=", value, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidLike(String value) {
            addCriterion("invited_user_uuid like", value, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidNotLike(String value) {
            addCriterion("invited_user_uuid not like", value, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidIn(List<String> values) {
            addCriterion("invited_user_uuid in", values, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidNotIn(List<String> values) {
            addCriterion("invited_user_uuid not in", values, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidBetween(String value1, String value2) {
            addCriterion("invited_user_uuid between", value1, value2, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andInvitedUserUuidNotBetween(String value1, String value2) {
            addCriterion("invited_user_uuid not between", value1, value2, "invitedUserUuid");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareIsNull() {
            addCriterion("is_paidShare is null");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareIsNotNull() {
            addCriterion("is_paidShare is not null");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareEqualTo(Integer value) {
            addCriterion("is_paidShare =", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareNotEqualTo(Integer value) {
            addCriterion("is_paidShare <>", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareGreaterThan(Integer value) {
            addCriterion("is_paidShare >", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_paidShare >=", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareLessThan(Integer value) {
            addCriterion("is_paidShare <", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareLessThanOrEqualTo(Integer value) {
            addCriterion("is_paidShare <=", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareIn(List<Integer> values) {
            addCriterion("is_paidShare in", values, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareNotIn(List<Integer> values) {
            addCriterion("is_paidShare not in", values, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareBetween(Integer value1, Integer value2) {
            addCriterion("is_paidShare between", value1, value2, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareNotBetween(Integer value1, Integer value2) {
            addCriterion("is_paidShare not between", value1, value2, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyIsNull() {
            addCriterion("new_reward_money is null");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyIsNotNull() {
            addCriterion("new_reward_money is not null");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyEqualTo(BigDecimal value) {
            addCriterion("new_reward_money =", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyNotEqualTo(BigDecimal value) {
            addCriterion("new_reward_money <>", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyGreaterThan(BigDecimal value) {
            addCriterion("new_reward_money >", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("new_reward_money >=", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyLessThan(BigDecimal value) {
            addCriterion("new_reward_money <", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("new_reward_money <=", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyIn(List<BigDecimal> values) {
            addCriterion("new_reward_money in", values, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyNotIn(List<BigDecimal> values) {
            addCriterion("new_reward_money not in", values, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("new_reward_money between", value1, value2, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("new_reward_money not between", value1, value2, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointIsNull() {
            addCriterion("new_reward_point is null");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointIsNotNull() {
            addCriterion("new_reward_point is not null");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointEqualTo(Integer value) {
            addCriterion("new_reward_point =", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointNotEqualTo(Integer value) {
            addCriterion("new_reward_point <>", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointGreaterThan(Integer value) {
            addCriterion("new_reward_point >", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("new_reward_point >=", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointLessThan(Integer value) {
            addCriterion("new_reward_point <", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointLessThanOrEqualTo(Integer value) {
            addCriterion("new_reward_point <=", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointIn(List<Integer> values) {
            addCriterion("new_reward_point in", values, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointNotIn(List<Integer> values) {
            addCriterion("new_reward_point not in", values, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointBetween(Integer value1, Integer value2) {
            addCriterion("new_reward_point between", value1, value2, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointNotBetween(Integer value1, Integer value2) {
            addCriterion("new_reward_point not between", value1, value2, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardIsNull() {
            addCriterion("is_getNewReward is null");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardIsNotNull() {
            addCriterion("is_getNewReward is not null");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardEqualTo(Integer value) {
            addCriterion("is_getNewReward =", value, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardNotEqualTo(Integer value) {
            addCriterion("is_getNewReward <>", value, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardGreaterThan(Integer value) {
            addCriterion("is_getNewReward >", value, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_getNewReward >=", value, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardLessThan(Integer value) {
            addCriterion("is_getNewReward <", value, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardLessThanOrEqualTo(Integer value) {
            addCriterion("is_getNewReward <=", value, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardIn(List<Integer> values) {
            addCriterion("is_getNewReward in", values, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardNotIn(List<Integer> values) {
            addCriterion("is_getNewReward not in", values, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardBetween(Integer value1, Integer value2) {
            addCriterion("is_getNewReward between", value1, value2, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetnewrewardNotBetween(Integer value1, Integer value2) {
            addCriterion("is_getNewReward not between", value1, value2, "isGetnewreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardIsNull() {
            addCriterion("is_getBuyReward is null");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardIsNotNull() {
            addCriterion("is_getBuyReward is not null");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardEqualTo(Integer value) {
            addCriterion("is_getBuyReward =", value, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardNotEqualTo(Integer value) {
            addCriterion("is_getBuyReward <>", value, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardGreaterThan(Integer value) {
            addCriterion("is_getBuyReward >", value, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_getBuyReward >=", value, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardLessThan(Integer value) {
            addCriterion("is_getBuyReward <", value, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardLessThanOrEqualTo(Integer value) {
            addCriterion("is_getBuyReward <=", value, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardIn(List<Integer> values) {
            addCriterion("is_getBuyReward in", values, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardNotIn(List<Integer> values) {
            addCriterion("is_getBuyReward not in", values, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardBetween(Integer value1, Integer value2) {
            addCriterion("is_getBuyReward between", value1, value2, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andIsGetbuyrewardNotBetween(Integer value1, Integer value2) {
            addCriterion("is_getBuyReward not between", value1, value2, "isGetbuyreward");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkIsNull() {
            addCriterion("activity_record_mark is null");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkIsNotNull() {
            addCriterion("activity_record_mark is not null");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkEqualTo(String value) {
            addCriterion("activity_record_mark =", value, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkNotEqualTo(String value) {
            addCriterion("activity_record_mark <>", value, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkGreaterThan(String value) {
            addCriterion("activity_record_mark >", value, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkGreaterThanOrEqualTo(String value) {
            addCriterion("activity_record_mark >=", value, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkLessThan(String value) {
            addCriterion("activity_record_mark <", value, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkLessThanOrEqualTo(String value) {
            addCriterion("activity_record_mark <=", value, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkLike(String value) {
            addCriterion("activity_record_mark like", value, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkNotLike(String value) {
            addCriterion("activity_record_mark not like", value, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkIn(List<String> values) {
            addCriterion("activity_record_mark in", values, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkNotIn(List<String> values) {
            addCriterion("activity_record_mark not in", values, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkBetween(String value1, String value2) {
            addCriterion("activity_record_mark between", value1, value2, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andActivityRecordMarkNotBetween(String value1, String value2) {
            addCriterion("activity_record_mark not between", value1, value2, "activityRecordMark");
            return (Criteria) this;
        }

        public Criteria andIsQrIsNull() {
            addCriterion("is_qr is null");
            return (Criteria) this;
        }

        public Criteria andIsQrIsNotNull() {
            addCriterion("is_qr is not null");
            return (Criteria) this;
        }

        public Criteria andIsQrEqualTo(Short value) {
            addCriterion("is_qr =", value, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrNotEqualTo(Short value) {
            addCriterion("is_qr <>", value, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrGreaterThan(Short value) {
            addCriterion("is_qr >", value, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrGreaterThanOrEqualTo(Short value) {
            addCriterion("is_qr >=", value, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrLessThan(Short value) {
            addCriterion("is_qr <", value, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrLessThanOrEqualTo(Short value) {
            addCriterion("is_qr <=", value, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrIn(List<Short> values) {
            addCriterion("is_qr in", values, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrNotIn(List<Short> values) {
            addCriterion("is_qr not in", values, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrBetween(Short value1, Short value2) {
            addCriterion("is_qr between", value1, value2, "isQr");
            return (Criteria) this;
        }

        public Criteria andIsQrNotBetween(Short value1, Short value2) {
            addCriterion("is_qr not between", value1, value2, "isQr");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}